package com.yunpuvip.sachet.biz.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yunpuvip.sachet.biz.entity.BalanceHistory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yunpuvip.sachet.biz.model.params.BalanceHistoryParam;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 余额变动历史 Mapper 接口
 * </p>
 *
 * @author wushaohong
 * @since 2019-08-10
 */
public interface BalanceHistoryMapper extends BaseMapper<BalanceHistory> {

    /**
     * 获取余额变动历史
     * @param page
     * @param parm
     * @return
     */
    Page<BalanceHistory> getBalanceHistorypage(Page page , @Param("parm") BalanceHistoryParam parm);
}
